package com.inspur.edp.ai.flow.engine;

public interface StatefulSupporter {
    /**
     * 持久化 DataBus
     *
     * @param dataBus
     * @
     */
    void backup(String instanceId, DataBus dataBus);

    /**
     * 恢复 DataBus
     *
     * @return
     */
    DataBus recovery(String instanceId);
}
